<template>
	<div class="order-dispatch">
		<!-- <dispatch-table v-if="show" @handleDetail="handleDetail" />
		<dispatch-detail v-if="!show" :record="record" @handleTable="handleTable" /> -->

		<dispatch-table />
	</div>
</template>

<script>
	export default {
		name: "history",

		data() {
			return {
				// show: true,
				// record: {},
			}
		},
		methods: {
			// handleTable() {
			// 	this.show = true
			// },
			// handleDetail(record = {}) {
			// 	this.show = false
			// 	console.log(record)
			// 	this.record = { ...record }
			// },
		},
		components: {
			"dispatch-table": () => import("./components/table.vue"),
			// "dispatch-detail": () => import("./components/detail.vue"),
		},
	}
</script>

<style lang="less" >
</style>